home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
SGBSL.z
/
SGBSL
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
SSSSGGGGBBBBSSSSLLLL((((3333FFFF)))) SSSSGGGGBBBBSSSSLLLL((((3333FFFF))))
NNNNAAAAMMMMEEEE
SGBSL - SGBSL solves the real band system A * X = B or TRANS(A) * X =
B using the factors computed by SBGCO or SGBFA.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE SGBSL(ABD,LDA,N,ML,MU,IPVT,B,JOB)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
AAAABBBBDDDD REAL(LDA, N)
the output from SBGCO or SGBFA.
LLLLDDDDAAAA INTEGER
the leading dimension of the array ABD .
NNNN INTEGER
the order of the original matrix.
MMMMLLLL INTEGER
number of diagonals below the main diagonal.
MMMMUUUU INTEGER
number of diagonals above the main diagonal.
IIIIPPPPVVVVTTTT INTEGER(N)
the pivot vector from SBGCO or SGBFA.
BBBB REAL(N)
the right hand side vector.
JJJJOOOOBBBB INTEGER
= 0 to solve A*X = B ,
= nonzero to solve TRANS(A)*X = B , where
TRANS(A) is the transpose. On Return
BBBB the solution vector X . Error Condition
AAAA division by zero will occur if the input factor contains a zero on the
diagonal. Technically, this indicates singularity, but it is often
caused by improper arguments or improper setting of LDA . It will not
occur if the subroutines are called correctly and if SBGCO has set RCOND
.GT. 0.0 or SGBFA has set INFO .EQ. 0 . To compute INVERSE(A) * C
where C is a matrix with P columns
CALL SBGCO(ABD,LDA,N,ML,MU,IPVT,RCOND,Z)
If (RCOND is too small) GO TO ...
DO 10 J = 1, P
CALL SGBSL(ABD,LDA,N,ML,MU,IPVT,C(1,J),0) 10 CONTINUE LINPACK. This
version dated 08/14/78 . Cleve Moler, University of New Mexico, Argonne
National Lab. Subroutines and Functions BLAS SAXPY,SDOT Fortran MIN0
PPPPaaaaggggeeee 1111